#ifndef E_GRBDEF_H
#define E_GRBDEF_H

//表情定义
#define exp_akd ui->lbl_body->setStyleSheet("image:url(://res/exp_akd.png)")
#define exp_arh ui->lbl_body->setStyleSheet("image:url(://res/exp_arh.png)")
#define exp_col ui->lbl_body->setStyleSheet("image:url(://res/exp_col.png)")
#define exp_dip ui->lbl_body->setStyleSheet("image:url(://res/exp_dip.png)")
#define exp_dst ui->lbl_body->setStyleSheet("image:url(://res/exp_dst.png)")
#define exp_sml ui->lbl_body->setStyleSheet("image:url(://res/exp_sml.png)")
#define exp_rge ui->lbl_body->setStyleSheet("image:url(://res/exp_rge.png)")
#define exp_nml ui->lbl_body->setStyleSheet("image:url(://res/exp_nml.png)")
#define exp_sad ui->lbl_body->setStyleSheet("image:url(://res/exp_sad.png)")
#define exp_srp ui->lbl_body->setStyleSheet("image:url(://res/exp_srp.png)")
#define exp_ucf ui->lbl_body->setStyleSheet("image:url(://res/exp_ucf.png)")
#define exp_mif ui->lbl_body->setStyleSheet("image:url(://res/exp_mif.png)")

//动作定义
#define say ui->lbl_msgBar->setText
#define sl ui->lbl_msgBar->setText("")

//语音定义

#define v2 QSound::play("../lib/voice/v_2.wav")
#define v3 QSound::play("../lib/voice/v_3.wav")
#define v4 QSound::play("../lib/voice/v_4.wav")
#define v6 QSound::play("../lib/voice/v_6.wav")
#define v9 QSound::play("../lib/voice/v_9.wav")
#define v10f QSound::play("../lib/voice/v_10_f.wav")
#define v14 QSound::play("../lib/voice/v_14.wav")
#define v23 QSound::play("../lib/voice/v_23.wav")
#define v12f QSound::play("../lib/voice/v_12_f.wav")
#define v85 QSound::play("../lib/voice/v_85.wav")
#define v40f QSound::play("../lib/voice/v_40_f.wav")
#define v41 QSound::play("../lib/voice/v_41.wav")
#define v42 QSound::play("../lib/voice/v_42.wav")
#define v43 QSound::play("../lib/voice/v_43.wav")

//外部程序定义

/*
//特殊路径
e_tmp "../tmp"
e_var "../var"
e_log "../var/log"
e_run "../var/run"
*/

//配置文件
#define e_lc "/essant.xml"
#define e_rc "../etc/essant.ini"
#define e_db "../lib/db/essant.db"
#define e_note "/note.dat"

//用户模式定义

#define u_root 0xff00 //65280
#define u_master 0xff01
#define u_owner 0xff02
#define u_user 0xff03
#define u_friend 0xff04
#define u_others 0xff05
#define u_blacklist 0xff06
#define u_custom 0xff07
#define u_error 0xffff

#endif // E_GRBDEF_H
